package com.example.questionnairespringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@ApiModel(value = "Questionnaire对象", description = "")
@Data
@TableName("questionnaire")
public class Questionnaire implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "Id", type = IdType.AUTO)

    Integer Id;
    String Name;
    String Questions;//用来存储题目序列化之后的数据
    String Instructions;//问卷说明
}
